﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace WebNext.Domain.Entities
{
	public class Tag : Entity
	{
		public const int MaxNameLength = 50;
		public const int MaxCodeLength = 10;

		public virtual string Name
		{
			get;
			set;
		}

		public virtual string Code
		{
			get;
			set;
		}

		public virtual CultureId CultureId
		{
			get;
			set;
		}

		protected Tag()
		{
		}

		public Tag(string name, string code, CultureId cultureId)
		{
			this.Name = name;
			this.Code = code;
			this.CultureId = cultureId;
		}
	}
}
